package com.example.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;

import javax.annotation.PostConstruct;

@Controller
@Slf4j
public class RegisterController {

    @PostConstruct
    public void init(){
        int i = 9;
        String x = "hello";
        //日志框架的格式化
        log.debug("日志框架 i={}, x={}", i, x);
    }
}
